package com.geostar.constructionland.common.service.logs;

import com.baomidou.mybatisplus.extension.service.IService;
import com.geostar.constructionland.common.entity.logs.JsydFxrz;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 建设用地分析日志服务
 */
public interface JsydFxrzService extends IService<JsydFxrz> {
    /**保存分析日志*/
    // 以事务方式执行，加入当前事务（即加入主事务）
    @Transactional(rollbackFor = Exception.class,propagation = Propagation.REQUIRED)
    void saveJsydFxrz(String ywid,List<JsydFxrz> jsydFxrz);

    JsydFxrz getFxrzByYwidAndFxlx(String ywid, String fxlx);
}
